package com.gzj;


import com.gzj.client.HelloServiceImplServiceLocator;

/**
 * @Description
 * @Author 顾志杰
 * @Date 2025/5/15 16:07
 * 进入 axis 目录中 运行 java -Djava.ext.dirs=lib/ org.apache.axis.wsdl.WSDL2Java http://localhost:8080/services/MyHelloService\?wsdl -p com.gzj.client 生成相应代码
 */
public class HelloServiceClient {
    public static void main(String[] args) {
        HelloServiceImplServiceLocator helloServiceImplServiceLocator = new HelloServiceImplServiceLocator();
        try {
            com.gzj.client.HelloServiceImpl myHelloService = helloServiceImplServiceLocator.getMyHelloService();
            System.out.println(myHelloService.sayHello("hello"));
        }catch (Exception e){

        }
    }
}
